<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>ajax-注册</title>
</head>
<body>
    <form>
        <!--required-->
        用户名:<input type="text" name="petname" required> <br>
        密码:  <input type="text" name="password"><br>
        确认密码: <input type="text" name="confirm"><br>
        <input type="submit" value="注册">
    </form>
    <script src="js/jquery.js"></script>
    <script src="js/register.js"></script>
</body>
</html>